<?php

class Skjb_Search_Xapian_Stopper_Simple extends Skjb_Search_Xapian_Stopper
{
    public $_cPtr=null;

    function __construct() {
        $this->_cPtr=new_SimpleStopper();
    }

    function add($word) {
        SimpleStopper_add($this->_cPtr,$word);
    }

    function apply($term) {
        return SimpleStopper_apply($this->_cPtr,$term);
    }

    function get_description() {
        return SimpleStopper_get_description($this->_cPtr);
    }
}